home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / gtfiledialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-02-19  |  984 b   |  39 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef GTFILEDIALOG_H
  8. #define GTFILEDIALOG_H
  9.  
  10. #include <QDialog>
  11. #include "ui_gtfiledialog.h"
  12. #include "scribusapi.h"
  13.  
  14.  
  15. /*! \brief Enhanced file dialog for get-text plugins
  16. This class is separated from gtdialogs.h file due the huge
  17. (almost) circle dependencies with fonts subdir/library
  18. \author Petr Vanek <petr@scribus.info>
  19. \author Riku Leino
  20. */
  21. class SCRIBUS_API gtFileDialog : public QDialog, public Ui::gtFileDialog
  22. {
  23.     Q_OBJECT
  24. public:
  25.     gtFileDialog(const QString& filters, const QStringList& importers, const QString& wdir);
  26.     ~gtFileDialog();
  27.  
  28.     QString selectedFile();
  29.  
  30. public slots:
  31.     virtual void accept();
  32.  
  33. protected:
  34.     void loadSettings(void);
  35.     void saveSettings(void);
  36. };
  37.  
  38. #endif
  39.